#!/bin/bash
python "$SUMO_HOME/tools/ptlines2flows.py" -n osm.net.xml.gz -b 0 -e 900 -p 600 --random-begin --seed 42 --ptstops osm_stops.add.xml --ptlines osm_ptlines.xml -o osm_pt.rou.xml --ignore-errors --vtype-prefix pt_ --stopinfos-file stopinfos.xml --routes-file vehroutes.xml --trips-file trips.trips.xml --min-stops 0 --extend-to-fringe --verbose
python "$SUMO_HOME/tools/randomTrips.py" -n osm.net.xml.gz --fringe-factor 2 --insertion-density 2 -o osm.bicycle.trips.xml -r osm.bicycle.rou.xml -b 0 -e 900 --trip-attributes "departLane=\"best\"" --fringe-start-attributes "departSpeed=\"max\"" --validate --remove-loops --via-edge-types highway.motorway,highway.motorway_link,highway.trunk_link,highway.primary_link,highway.secondary_link,highway.tertiary_link --vehicle-class bicycle --vclass bicycle --prefix bike --max-distance 8000
python "$SUMO_HOME/tools/randomTrips.py" -n osm.net.xml.gz --fringe-factor 1 --insertion-density 4 -o osm.pedestrian.trips.xml -r osm.pedestrian.rou.xml -b 0 -e 900 --vehicle-class pedestrian --prefix ped --persontrips --trip-attributes "modes=\"public\"" --additional-files osm_stops.add.xml,osm_pt.rou.xml --persontrip.walk-opposite-factor 0.8 --duarouter-weights.tls-penalty 20
python "$SUMO_HOME/tools/randomTrips.py" -n osm.net.xml.gz --fringe-factor 40 --insertion-density 1 -o osm.ship.trips.xml -r osm.ship.rou.xml -b 0 -e 900 --vehicle-class ship --vclass ship --prefix ship --fringe-start-attributes "departSpeed=\"max\"" --validate
